package com.micai.springboot.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.micai.springboot.base.BizEntity;

/**
 * 描述：角色实体对象
 * <p>
 * Author: 赵新国
 * Date: 2017/10/24 18:01
 */
@TableName("au_role")
public class RoleEntity extends BizEntity<RoleEntity> {

    @TableField("name")
    private String name;

    @TableField("code")
    private String code;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
